package com.atguigu.gmall.user.service;

import com.atguigu.gmall.user.vo.UserLoginSuccessVo;
import com.atguigu.gmall.user.vo.UserLoginVo;

/**
 * @author:ahang
 * @create:2022-10-18 11:31
 * @Description:
 */
public interface UserInfoService {
    /**
     * 用户登录
     * @param userLoginVo
     * @return
     */
    UserLoginSuccessVo login(UserLoginVo userLoginVo);

    /**
     * 退出
     * @param token
     */
    void logout(String token);
}
